package com.a01_2021.thousandstimes.general.controller;

import com.a01_2021.thousandstimes.utils.AjaxResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author E1xP@foxmail.com
 * @Version 1.0
 * @PACKAGE_NAME com.a01_2021.thousandstimes.saas.controller
 * @CLASS_NAME testController
 * @Description TODO 测试控制器
 * @Date 2021/2/21 下午 2:46
 **/
@RestController
@RequestMapping("/test")
public class testController {
    /**
     * 测试控制器
     *
     * @return 返还成功内容
     */
    @PostMapping("test")
    @ResponseBody
    public AjaxResponse test() {
        return AjaxResponse.success("Success");
    }
}
